from django.shortcuts import render

# Create your views here.

from visualization.models import QzDictStation
from django.http import HttpResponse

def get_station(request):
    response = ""
    response1 = ""

    list = QzDictStation.objects.using('earthquake').all()

    for var in list:
        response1 += var.stationid + " "

    response = response1

    return HttpResponse("<p>" + response + "</p>")
